import { ADD_COUNT,MINUS_COUNT,HOME_SWIPER_LIST,FIND_HOME_ROOM_LIST } from '../actionTypes'

// 下面2个action 测试使用
export const addCounter = (value) =>{
    return {
        type: ADD_COUNT,
        value
    }
}
export const minCounter = (value) =>{
    return {
        type: MINUS_COUNT,
        value
    }
}

// 获取首页轮播图列表
export const getHomeSwiperListAction = (value)=>{
    return {
        type: HOME_SWIPER_LIST,
        value
    }
}

// 获取找房页面--房屋列表
export const getFindHomeRoom = (value)=>{
    return {
        type: FIND_HOME_ROOM_LIST,
        value
    }
}
